package com.dj.mingkong.common.enums;

/**
 * 音乐人审核状态枚举
 *
 * @author zenglonghui
 * @date: 2022/6/28 16:10
 */
public enum MusicianStatusEnum {
    PENDING(0, "待审核"),
    UNDER(1, "审核中"),
    TO_UPDATE(2, "待修改"),
    PASS(3, "审核通过"),
    NO_PASS(4, "审核不通过"),
    ACCUSE(5, "投诉");

    private Integer intVal;
    private String desc;

    MusicianStatusEnum(Integer intVal, String desc) {
        this.intVal = intVal;
        this.desc = desc;
    }

    public Integer getIntVal() {
        return intVal;
    }

    public String getDesc() {
        return desc;
    }

    public boolean equalsIntVal(Integer intVal) {
        return this.intVal.equals(intVal);
    }
}
